/*
 * tramopline_uc3.S
 *
 *  Created on: Aug 12, 2013
 *      Author: Ken Arok
 *
 *      Revision history:
 *      ---------------------------------------------------------
 *      Date			|	Revised by		|	Description
 *      ---------------------------------------------------------
 *      1. Aug 12, 2013	|	Yosef			| New establishment
 *
 *
 *
 * \brief Hardware Abstraction Layer of AVR32 UC3 ISP trampoline.
 *
 * Copyright (c) 2013 PT Hanindo Automation Solutions. All rights reserved.
 *
 */

#include "config_board.h"

#if BOARD_1_0_USED

#include "trampoline_uc3.h"

// This must be linked @ 0x80000000 if it is to be run upon reset.
.section  .reset, "ax", @progbits

.global _trampoline
.type _trampoline, @function
_trampoline:
	// Jump to program start.
	rjmp    program_start

.org 0x00002000
program_start:
	// Jump to the C runtime startup routine.
	lda.w   pc, _stext

#endif /* BOARD_1_0_USED */
